package com.ai.tool.node;

import com.ai.tool.web.util.SpringContextUtil;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component
public class ReaderManager {

    @Value("${node.reader}")
    private String reader;

    public ReadDocService getReader() {
        return SpringContextUtil.getBean(reader);
    }
}
